package com.example.day02.contract;

import com.example.day02.bean.BelleBean;

public interface HomeContract {
    interface Model {
        void getData(CallBack callBack);
    }

    interface View {
        void onSuccess(BelleBean  belleBean);
        void onFail(String errorMsg);
    }

    interface Presenter {
        void getData();
    }
    interface CallBack{
        void onSuccess(BelleBean  belleBean);
        void onFail(String errorMsg);
    }
}
